{extend name="public/base"}

{block name="title"}就行天下-抢单{/block}

{block name="style"}
<link rel="stylesheet" href="__STATIC__/home/css/index.css" />
{/block}

{block name="main"}
<div class="pageControl lookIndent bg-f7">
    <div class="main-top"></div>
    <div class="msui_nav msui_navTop">
        <a class="msui_navTop-back" href="javascript:history.back();"><i class="micon-back"></i></a>
        <h1 class="msui_navTop-title">抢单</h1>
        <a href="" class="msui_navTop-right msui_navTop-cnav"><i class="micon-cnav"></i></a>
    </div>
    <div class="indent-top">
        {empty name="data"}
            <p style="margin-top: 4rem; text-align: center;">暂无数据...</p>
        {else /}
            {volist name="data" id="vo"}
                <div class="lookIndent-list">
                    <a href="{:url('vie_for_order_info', ['id' => $vo.id, 'shop_id' => $shop_id])}" style="width: 100%;">
                        <div class="weui-cell" style="border-radius: 7px 7px 0 0;">
                            <div class="weui-cell__hd indentImg">
                                <img src="{$vo.headimgurl}" alt="">
                            </div>
                            <div class="weui-cell__bd">
                                <p class="fs07">{$vo.nickname}</p>
                                <div class="my-flex1 cl-9999 fs065">
                                    下单时间: <span>{$vo.create_time|date="Y-m-d H:i:s", ###}</span>
                                </div>
                            </div>
                            <div class="weui-cell__ft">
                                <p class="cl-c40 fs06">
                                    待接单
                                </p>
                            </div>
                        </div>
                        <div class="weui-cell confirmOrder">
                            <div class="weui-cell__hd">
                                <img src="__STATIC__/home/images/product3.png" alt="">
                            </div>
                            <div class="weui-cell__bd orderDemand">
                                <p class="fs06 listFont-1">{$vo.msg}(用户发布的需求)</p>
                                <p class="fs06">喝酒时间: <span>{$vo.drink_time|date="m-d H:i", ###}</span></p>
                                <p class="fs06">地址: <span>{$vo.address}</span></p>
                            </div>
                        </div>
                    </a>
                    <div class="weui-cell">
                        <div class="weui-cell__bd"> </div>
                        <div class="weui-cell__ft">
                            <a href="{:url('vie_for_order_info', ['id' => $vo.id, 'shop_id' => $shop_id])}" class="indent-btn-bg">抢单</a>
                        </div>
                    </div>
                </div>
            {/volist}
        {/empty}
    </div>
</div>
{/block}

{block name="javascript"}

{/block}